﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace IntroToMVC.Models
{
    /// <summary>
    /// This is the Dinosaur Class...RWAR!
    /// </summary>
    public class Dinosaur : Animal  /// Iheritance from animal with ':'
                                    
    {
        string Diet { get; set; }
        /// <summary>
        /// This is how big...
        /// </summary>
        public override string Noise()
        {
            return "RAWWWRRR";
        }
        ///
        /// <param name="species"></param> 
        /// <param name="carnivore"></param>
        /// 
        public Dinosaur(string species, string carnivore, int legs = 4) /// can create a default value by assigning a value i.e. int legs = '4'
        {
            Species = species;
            Diet = carnivore;
            Legs = legs;
        }
        public Dinosaur(string species, string diet, double weight) // Can change order of parameteres
        {
            this.Species = species;
            Diet = diet; // Technically 'this' is not required as casing will let C# know what goes where
            Weight = weight;
        }
    }
}